Skip to content

Instantly share code, notes, and snippets.

@robertkirkman
robertkirkman / Puppeteer-on-Android.md
Last active May 17, 2026 02:24
How To Run Node.js Puppeteer or Python Selenium On Android

Puppeteer Headless Mode

pkg install x11-repo
pkg install nodejs firefox

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@P4STH3LL
P4STH3LL / vimmlair-downloadbutton.js
Created May 17, 2026 02:23
Re-add Download Button Vimm's Lair
// ==UserScript==
// @name Re-add Download Button Vimm's Lair
// @version 1.0
// @description Grabs the mediaId and re-adds the download button only on pages that have them removed
// @author P4STH3LL
// @match https://vimm.net/vault/*
// ==/UserScript==
(function() {
const downloadForm = document.querySelector('#dl_form');
const downloadButton = downloadForm?.querySelector('button[type="submit"][style="width:100%"]');
@nalakawula
nalakawula / README.md
Last active May 17, 2026 02:20
Waybar for Niri

Location: ~/.config/waybar/

Result

image

Hover the most left icon will show monitoring (cpu, ram, temperature, and disk)

image

@P4STH3LL
P4STH3LL / autocookie-duckgo.js
Created May 17, 2026 02:14
An auto-set cookie script for DuckDuckGo Search Engine(s).
// ==UserScript==
// @name AutoCookie-DuckGo
// @version 1.0
// @author P4STH3LL
// @description An auto-set cookie script for DuckDuckGo Search Engine(s).
// @match https://*.duckduckgo.com/*
// @run-at document-start // Run before the page loads so cookies are present immediately
// ==/UserScript==
(() => {
@oyagatta
oyagatta / n8n-late-night-workflow.json
Created May 17, 2026 02:10
n8n-late-night-workflow.json
{
"nodes": [
{
"parameters": {
"promptType": "define",
"text": "vas y",
"hasOutputParser": true,
"options": {
"systemMessage": "You are a silent observer of the human condition. Your mission is to craft deeply relatable, hard-hitting late-night thoughts about life, time, regret, anxiety, and internal struggles, pairing them with an atmospheric visual concept.\n\nThe Core Atmosphere:\nThink of \"late-night thoughts\" or \"core memories\"—those raw, sudden realizations that hit you when the world goes quiet. The tone is not preachy, overly positive, or artificially sweet. It is a mix of melancholy and comfort, presenting a stark truth about human nature that unexpectedly offers relief. It must address universal, deeply human experiences: the fear of wasting life, fighting your own mind, being obsessed with the future, or carrying the weight of the past.\n\nCreation Directives:\n1. The Quote (in English): Craft a short, impactful reflection. Use contrasting s
@MangaD
MangaD / valgrind.md
Last active May 17, 2026 02:09
Valgrind for C++ Engineers: The Complete Deep-Dive into Memory Analysis, Debugging, and Runtime Instrumentation

Valgrind for C++ Engineers: The Complete Deep-Dive into Memory Analysis, Debugging, and Runtime Instrumentation

CC0

Disclaimer: ChatGPT generated document.

Valgrind is a dynamic binary instrumentation framework and tool suite. In practice, that means it runs your compiled program on a synthetic CPU, intercepts memory allocation and threading primitives, and attaches tool-specific analyses to every relevant instruction. The current official release is 3.26.0 dated 24 October 2025. The Valgrind distribution includes Memcheck, Cachegrind, Callgrind, Massif, Helgrind, DRD, DHAT, plus some other and experimental tools. ([valgrind.org][1])

For a C++ engineer, the one-sentence summary is: **Valgrind is still one of the best “truth serum” tools for native code correctness and low-level runtime inspection, especially for heap misuse, leaks, uninitialized-value flow, allocator mismatches, and ce

@P4STH3LL
P4STH3LL / pretendo-setup.txt
Last active May 17, 2026 02:17
Pretendo 2026 Setup Guide for 3DS/2DS
Pretendo 2026 Setup Guide for 3DS/2DS
1. Install and launch Universal Updater.
2. Locate Pretendo/Nimbus and install the CIA version.
3. Return to the Home Menu, open Pretendo/Nimbus, and confirm the closure of Universal Updater.
4. Launch the Pretendo/Nimbus application and select Nintendo.
5. Open the eShop and confirm the closure of Pretendo/Nimbus.
6. After connecting to the eShop, return to the Home Menu, open Pretendo/Nimbus, and confirm the closure of the eShop.
7. Attempt to sign in to your account via System Settings by selecting Nintendo Network ID.
@rohitg00
rohitg00 / llm-wiki.md
Last active May 17, 2026 02:01 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 10K Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

Currently, Working on AKBP: Agent Knowledge Base Protocol based on my findings, a protocol for creating, updating, retrieving, and sharing durable knowledge across AI agents.

What the original gets right